package com.ykyl.pojo.dto;

import com.ykyl.base.BaseDto;
import com.ykyl.pojo.vo.DeptVo;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author itheima
 */
@Data
@NoArgsConstructor
public class PostDto extends BaseDto {

    private String deptNo;

    private String postNo;

    private String postName;

    private Integer sortNo;

    private String remark;

    private DeptVo deptVo;

    private String dataState;

    @Builder
    public PostDto(String deptNo, String postNo, String postName, Integer sortNo, String remark, DeptVo deptVo, String dataState) {
        this.deptNo = deptNo;
        this.postNo = postNo;
        this.postName = postName;
        this.sortNo = sortNo;
        this.remark = remark;
        this.deptVo = deptVo;
        this.dataState = dataState;
    }
}
